import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { ZoneRoutingModule } from './zone-routing.module';
import { ListComponent } from './components/list/list.component';
import { ShareModule } from '../share/share.module';
import { DetailsComponent } from './components/details/details.component';
import { TreeItemComponent } from './components/tree-item/tree-item.component';
import { AddComponent } from './components/add/add.component';
import { MatSelectModule } from '@angular/material';
import { DefaultPermissionComponent } from './components/default-permission/default-permission.component';
import { ResourceGroupComponent } from './components/resource-group/resource-group.component';
import { PermissionGroupComponent } from './components/permission-group/permission-group.component';
import { InfoWidgetComponent } from './components/info-widget/info-widget.component';
import { ZoneResourcesModule } from '../zone-resources/zone-resources.module';
import { StatisticModule } from '../statistic/statistic.module';
import { HistoryModule } from '../history/history.module';
import { PreInstallComponent } from './components/pre-install/pre-install.component';
import { RestrictAppComponent } from './components/restrict-app/restrict-app.component';
import { BasicSettingFormComponent } from './components/default-permission/basic-setting-form/basic-setting-form.component';
import { AdvancedSettingFormComponent } from './components/default-permission/advanced-setting-form/advanced-setting-form.component';
import { PreinstallAppFormComponent } from './components/default-permission/preinstall-app-form/preinstall-app-form.component';
import { RestrictedAppFormComponent } from './components/default-permission/restricted-app-form/restricted-app-form.component';
import { RepairScriptFormComponent } from './components/default-permission/repair-script-form/repair-script-form.component';
import { CmpltVerifyFormComponent } from './components/default-permission/cmplt-verify-form/cmplt-verify-form.component';


@NgModule({
  imports: [
    CommonModule,
    ZoneRoutingModule,
    ShareModule,
    MatSelectModule,
    ZoneResourcesModule,
    StatisticModule,
    HistoryModule,
  ],
  declarations: [
    ListComponent,
    AddComponent,
    DetailsComponent,
    TreeItemComponent,
    DefaultPermissionComponent,
    ResourceGroupComponent,
    PermissionGroupComponent,
    InfoWidgetComponent,
    PreInstallComponent,
    RestrictAppComponent,
    BasicSettingFormComponent,
    AdvancedSettingFormComponent,
    PreinstallAppFormComponent,
    RestrictedAppFormComponent,
    RepairScriptFormComponent,
    CmpltVerifyFormComponent,
  ],
  entryComponents: [AddComponent, DefaultPermissionComponent],
})
export class ZoneModule {}
